//
// Created by 吴喆 on 2020/3/6.
//

#ifndef SUMMER_GAME_H
#define SUMMER_GAME_H

#import <map>
#import <string>
#import "Scene.h"

namespace summer {
    class Game {
    public:
        // 初始化
        virtual void init() = 0;
        // 更新逻辑
        virtual void update() = 0;
        // 渲染
        virtual void render() = 0;

        virtual ~Game() = default;

    protected:
        std::map<std::string, Scene *> scenes;
        std::string currentScene;
    };
}



#endif //SUMMER_GAME_H
